package fms.msgupcenter.protocols.downlinkfree;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: adcc
 * Date: 14-6-10
 * Time: 上午10:26
 * To change this template use File | Settings | File Templates.
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class DownLinkFree implements Serializable {
    @XmlAttribute(name="type")
    private String skylinkType;//类型
    @XmlElement(name="head")
    private DownLinkFreeHead head;//头结点
    @XmlElement(name="boy")
    private String body;//原始报文
    @XmlElement(name="msg")
    private String msg;//原始报文

    public DownLinkFree(){
        skylinkType ="DOWNLINKFREE";
    }

    public String getSkylinkType() {
        return skylinkType;
    }

    public void setSkylinkType(String skylinkType) {
        this.skylinkType = skylinkType;
    }

    public DownLinkFreeHead getHead() {
        return head;
    }

    public void setHead(DownLinkFreeHead head) {
        this.head = head;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
